<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2021/4/12
  Time: 20:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
    <title>淘宝</title>
    <style>
        /*h2{*/
        /*    display: inline-block;*/
        /*}*/
        .a,.onlineNumber{
            display: inline-block;
            float: right;
        }
        .goods,.title{
            display: inline-block;
        }
        .title{
            height: auto;
        }
    </style>
</head>
<%--<body onbeforeunload="window.location='loginout.jsp'">--%>
<body>
<h3>${msg}</h3>
<hr>
<div    class="Body">
    <div class="Body_head">
        <h2 class="title">@爱淘宝@</h2>
        <div class="onlineNumber">当前在线人数：${applicationScope.onlineCount}</div>
        <hr>
        <form action="updateUserWeb.jsp" method="post" class="a">
            <button>修改信息</button>
        </form>
        <form action="deleteUserWeb.jsp" method="post" class="a">
            <button>注销账号</button>
        </form>
        <form action="index.jsp" method="post" class="a">
            <button>退出账号</button>
        </form>
    </div>
    <div class="Body_body">
        <div class="Body_body_goods_1 goods">
            <div class="goods_1_goodsName ">香辣大片</div>
            <div class="goods_1_goodsDescribe">辣死你个龟孙</div>
            <div class="goods_1_goodsPrice">￥2</div>
            <form action="/insertGoods">
                <input type="hidden" name="goodsName" value="香辣大片">
                <input type="hidden" name="goodsPrice" value="2">
                <input type="text" name="goodsNumber" placeholder="0">
                <button type="submit">买它！</button>
            </form>
        </div>
        <div class="Body_body_goods_2 goods">
            <div class="goods_2_goodsName ">高乐高</div>
            <div class="goods_2_goodsDescribe">巧克力卷</div>
            <div class="goods_2_goodsPrice">￥1</div>
            <form action="/insertGoods">
                <input type="hidden" name="goodsName" value="高乐高">
                <input type="hidden" name="goodsPrice" value="1">
                <input type="text" name="goodsNumber" placeholder="0">
                <button type="submit">买它！</button>
            </form>
        </div>
        <br>
        <div class="Body_body_goods_3 goods">
            <div class="goods_3_goodsName ">卫龙大辣条</div>
            <div class="goods_3_goodsDescribe">辣死你个龟孙</div>
            <div class="goods_3_goodsPrice">￥2</div>
            <form action="/insertGoods">
                <input type="hidden" name="goodsName" value="卫龙大辣条">
                <input type="hidden" name="goodsPrice" value="2">
                <input type="text" name="goodsNumber" placeholder="0">
                <button type="submit">买它！</button>
            </form>
        </div>
        <div class="Body_body_goods_4 goods">
            <div class="goods_4_goodsName ">呀！土豆</div>
            <div class="goods_4_goodsDescribe">薯条哦！</div>
            <div class="goods_4_goodsPrice">￥4</div>
            <form action="/insertGoods">
                <input type="hidden" name="goodsName" value="呀！土豆">
                <input type="hidden" name="goodsPrice" value="4">
                <input type="text" name="goodsNumber" placeholder="0">
                <button type="submit">买它！</button>
            </form>
        </div>
    </div>
    <form action="/selectGoods">
        <input type="hidden" name="judgement" value="0">
        <button type="submit">购物车</button>
    </form>
</div>
</body>
</html>
